<?php $this->headTitle()->prepend('Step1')?>
<div class="install_step">
<div class="t_a_line">
<div></div>
<h2><?php echo  $this->translate('Install Steps')?></h2>
</div>
<ul>
	<li class="install_step_active">1. <?php echo  $this->translate('install_steps_requirements'); ?></li>
	<li>2. <?php echo  $this->translate('install_steps_config'); ?></li>
	<li>3. <?php echo  $this->translate('install_steps_complete'); ?></li>
</ul>
</div>

<div class="install_body">
<form method="post" action="<?php echo  $this->baseUrl(); ?>" class="t_a_form">
<div class="t_a_line t_a_toggle">
<div></div>
<h2><?php echo  $this->translate('PHP extensions')?></h2>
</div>

<div>

<div><?php echo  $this->translate('SFS requires the following PHP extensions:')?></div>

<div class="t_a_bottom">
<div class="grid_3 alpha t_a_line">
<div></div>
<h2>Extension</h2>
</div>
<div class="grid_6 omega t_a_line">
<div></div>

<h2>Installed</h2>
</div>

<br />

<?php foreach ($this->requiredExtensions as $ext=>$installed):?>
<div class="clearfix"></div>
<div class="clearfix t_a_box">
<div class="grid_3"><span style="padding-left: 10px"><?php echo  $ext?></span></div>
<div class="grid_6 "><?php if ($installed): ?><?php echo  $this->translate('install_step1_installed'); ?><?php else : ?><span
	style="width: 280px;" class="t_a_message_warning"><?php echo  $this->translate('install_step1_not_installed'); ?></span><?php endif; ?></div>
</div>
<?php endforeach?>
</div>
</div>


<div class="t_a_line t_a_toggle">
<div></div>
<h2><?php echo  $this->translate('Files Permissions')?></h2>
</div>

<div>

<div><?php echo  $this->translate('The following files have to be writable:')?></div>

<div class="t_a_bottom">
<div class="grid_3 alpha t_a_line">
<div></div>
<h2>File</h2>
</div>
<div class="grid_6 omega t_a_line">
<div></div>

<h2>Writable</h2>
</div>

<div class="clearfix"></div>
<?php foreach ($this->writableFiles as $file => $writable) : ?>
<div class="clearfix t_a_box">
<div class="grid_3 alpha"><span style="padding-left: 10px"><?php echo  $file; ?></span></div>
<div class="grid_6 omega"><?php if ($writable) : ?><?php echo  $this->translate('install_step1_writable'); ?><?php else : ?><span
	style="width: 280px;" class="t_a_message_warning"><?php echo  $this->translate('install_step1_not_writable'); ?></span><?php endif; ?></div>
</div>
<?php endforeach; ?>
<div class="clearfix"></div>

</div>
<?php if ($this->pass) : ?>
        <div class="t_a_bottom" style="text-align: right">
            <input class="t_a_button" type="submit" name="submit" value="<?php echo  $this->translate('install_steps_next_button'); ?>" />
        </div>
       <?php endif; ?>
</div>
<div style="clear: both"></div>
</form>
</div>


